<ion-header class="header">
    <ion-navbar>
        <ion-title class="header-title">
            <span class="personal-data">个人资料</span>
        </ion-title>
    </ion-navbar>
</ion-header>

<ion-content class="content-wrapper">
    <ion-list class="main-content inputs-wrap">
        <div class="inputs mt">
            <span class="gray">姓名</span>
            <input type="text" class="input--inner" [(ngModel)]="childInfo.name" placeholder="请输入子账号姓名">
        </div>
        <div class="inputs mt">
            <span class="gray">电话</span>
            <input type="text" class="input--inner" [(ngModel)]="childInfo.mobile" placeholder="请输入子账号电话">
        </div>
        <p class="msg ss">*电话号码将作为子帐号的登录账号，登录信息将发送到该号码。</p>
        <p class="msg errorMsg">{{errorMsg}}</p>
    </ion-list>
    <div class="btns--bottom">
        <button class="sub-btn return" (click)="goback()">返回</button>
        <button class="sub-btn modify" (click)="toAddChildAccount()">保存</button>
    </div>
</ion-content>
